package quickSort;

import java.util.Random;

/**
 * Created by hps on 17-5-1.
 */
public class QuickSort1App {
    public static void main(String[] args) {
        int maxSize = 16;
        ArrayIns arr = new ArrayIns(maxSize);
        Random random = new Random(System.currentTimeMillis());

        for (int i = 0; i < maxSize; i++) {
            arr.insert(random.nextInt(99));
        }
        arr.display();
        arr.quickSort();
        arr.display();
    }
}
